native-layout: Fix typo that brakes layout completely
authorJohannes Schmid <jhs@gnome.org>
Mon, 14 Dec 2009 16:16:21 +0000 (17:16 +0100)
committerJohannes Schmid <jhs@gnome.org>
Mon, 14 Dec 2009 16:16:21 +0000 (17:16 +0100)
gtk/gtkbox.c

index ba357ade5da9dac100d0cd2b4ca6a6a0f61d80d2..5de85b63232f2566de43e138bfa71b055035e020 100644 (file)
@@ -487,7 +487,7 @@ gtk_box_size_allocate (GtkWidget     *widget,
                                                               &sizes[i].minimum_size,
                                                               &sizes[i].natural_size);
                   else
-                    gtk_extended_layout_get_width_for_height (GTK_EXTENDED_LAYOUT (child->widget),
+                    gtk_extended_layout_get_height_for_width (GTK_EXTENDED_LAYOUT (child->widget),
                                                                                    allocation->width,
                                                                                    &sizes[i].minimum_size,
                                                                                    &sizes[i].natural_size);